package cn.iocoder.yudao.module.orderview.controller.admin.vo.orderview;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

@Schema(description = "管理后台 - 订单视图信息 Response VO")
@Data
public class OrderViewRespVO {

    @Schema(description = "请求ID", example = "1024")
    private String requestId;

    @Schema(description = "商品编号", example = "1024")
    private Long productId;

    @Schema(description = "商品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋道")
    private String productName;

    @Schema(description = "商品描述", example = "芋道")
    private String description;

    @Schema(description = "商品价格", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private BigDecimal price;

    @Schema(description = "上架状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer upsalaStatus; //参见 UpsalaStatusEnum 枚举

    @Schema(description = "可用数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "11")
    private Integer availableQuantity;

    @Schema(description = "锁定数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "11")
    private Integer lockedQuantity;

    @Schema(description = "促销标题", example = "促销标题")
    private String promoTitle;

    @Schema(description = "促销详情", example = "促销详情")
    private String promoDescription;

    @Schema(description = "可用状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer isActive; //参见 IsActiveEnum 枚举

}
